package com.fromfuture.xuhuidoc.cordova.plugin;

import android.widget.Toast;

import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONException;

/**
 * Created by hp on 2017/6/14.
 */

public class AnHospitalPlugin extends CordovaPlugin {

    @Override
    public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException {
        Toast.makeText(cordova.getActivity(),"ss",Toast.LENGTH_SHORT).show();
//        Intent intent=new Intent(this, HospitalActivity.class);
//        startActivity(intent);

        return super.execute(action, args, callbackContext);
    }
}
